body {
    width: 70%;
    margin: auto;
    background-color: #f8fcff;
    font-family: "楷体", fangsong;
    font-size: 62.5%;
}

h1.title {
    text-align: center;
}

.result {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 400px;
    border: #b6b6b6 solid 1px;
    padding: 10px;
    position: relative;

    .table {
        border: 1px solid black;
        height: 300px;
        font-size: 16px;

        tr {
            height: 50px;

            td {
                text-align: end;
                border: 1px solid black;
                width: 200px;

                .name {
                    color: darkgray;
                    margin-right: 10px;
                }

                .value {
                    font-weight: bold;
                    font-size: large;
                    margin-right: 10px;
                }

                .fail {
                    color: #f37f7f;
                    margin-right: 10px;
                }
            }
        }

        p {
            text-align: center;
            margin: auto;
            font-weight: bold;
        }

    }

    #myChart-doughnut {
        max-width: 300px;
        max-height: 300px;
    }
}

.result::after {
    content: '结果预览';
    position: absolute;
    left: 20px;
    top: -15px;
    width: 100px;
    text-align: center;
    font-size: 18px;
    color: #3ebbc6;
    font-weight: 600;
    background-color: aliceblue;
}

.test-details {
    position: relative;
    border: #b6b6b6 solid 1px;

    details {
        margin: 0.5rem 0.3rem;
        box-shadow: 0 0 6px rgba(0, 0, 0, .12);

        .step-desc {
            font-size: 1rem;
            border-left: #dbd8d8 dashed 0.5px;
            margin-left: 2rem;
            padding: 0.5rem;

            p {
                margin-top: 0;
                padding: 0.1rem;
            }
        }

        .step-title {
            font-size: 1.2rem;
            font-weight: 600;
            padding: 1rem;
            outline: none;
            border-radius: 0.25rem;
            cursor: pointer;
            position: relative;

            span {
                display: inline-block;
                width: 31%;
            }

            .name {
                text-align: left;
            }

            .time {
                text-align: center;
                color: #bfbfbf;
            }

            .r {
                text-align: right;

            }
        }

        .s0 {
            color: #b5baba;
            background-color: #f6f8fa;
        }

        .s1 {
            background-color: #e2fffa;
        }

    }

    details.tests.runner {
        margin-left: 2rem;

        .s11 {
            box-shadow: 0 0 6px rgba(0, 0, 0, .12);
            background-color: white;
            padding: 0.5rem;
            margin-bottom: 1rem;
            border-radius: 10px;

            .title {
                border-bottom: #dcdbdb dashed 0.5px;
                font-size: 1.0rem;
                font-weight: bold;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .desc {
                font-size: 1.2rem;

                p {
                    margin-left: 1rem;
                }
            }
        }
    }

    details[open] summary {
        border-bottom: #c0d5d1 dashed 0.5px;
    }
}

.test-details::after {
    content: '测试详情';
    position: absolute;
    left: 20px;
    top: -15px;
    width: 100px;
    text-align: center;
    font-size: 18px;
    color: #3ebbc6;
    font-weight: 600;
    background-color: aliceblue;
}


hr {
    border: 0;
    border-top: 3px double #d0d0d5;
    margin: 15px auto;
}


details[open] summary ~ * {
    animation: sweep .5s ease-in-out;
}

@keyframes sweep {
    0% {
        opacity: 0;
        margin-top: -10px
    }

    100% {
        opacity: 1;
        margin-top: 0
    }
}

details > summary::after {
    position: absolute;
    content: "+";
    right: 20px;
}

details[open] > summary::after {
    position: absolute;
    content: "-";
    right: 20px;
}

details > summary::-webkit-details-marker {
    display: none;
}

.fail {
    color: red;
}

.pass {
    color: green;
}

.abort {
    color: orange;
}


#mySidenav {
    position: fixed;
    right: -90px;
    top: calc(25vh);
    transition: 0.3s;
    width: 100px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    border-radius: 0 5px 5px 0;
    display: flex;
    height: 150px;
    .flg{
        display: block;
        height: calc(100%);
        width: 10px;
        border-radius: 4px;
        background-color: #c0d5d1;
        box-shadow: 0 0 6px rgba(0, 0, 0, .12);
    }
    .sidenav{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-around;
        button{
            width: 88px;
            border-radius: 5px;
            margin: auto;
        }
    }

}
#mySidenav:hover {
    right: 0;
}
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    outline: none;
    color: #6b6767;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    border: #c7bfbc solid 1px;


}

#myBtn:hover {
    box-shadow: 0 0 6px rgba(0, 0, 0, .12);
}

.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out
}

@keyframes octocat-wave {
    0%, 100% {
        transform: rotate(0)
    }
    20%, 60% {
        transform: rotate(-25deg)
    }
    40%, 80% {
        transform: rotate(10deg)
    }
}

@media (max-width: 500px) {
    .github-corner:hover .octo-arm {
        animation: none
    }

    .github-corner .octo-arm {
        animation: octocat-wave 560ms ease-in-out
    }
}